package cn.iocoder.yudao.module.shop.category.pojo.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
@Schema(description = "用户 APP - 行业类目 Response VO")
public class ShopCategoryCodeBO {

    @Schema(description = "分类标识", example = "mall")
    private String code;

    @Schema(description = "分类名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "普通产品")
    @NotBlank(message = "分类名称不能为空")
    private String name;

}
